package task

import (
	"task/TaskModule"
	"time"
	"frame/logger/HLogger"
)
var simpleTaskDemo = HLogger.GetHLogger("SimpleTaskDemo")

var SimpleTaskDemo = TaskModule.TaskModule{
	Name:"SimpleTaskDemo",
	Iterval:2*time.Second,
	Taskfunc:SimpleTaskDemo_exec,
}



func SimpleTaskDemo_exec(txncontex HLogger.TxnContext,context *map[string]interface{}){
	simpleTaskDemo.InfoWithTxnContext(txncontex,"进入SimpleTaskDemo_exec")

	simpleTaskDemo.InfoWithTxnContext(txncontex,"离开SimpleTaskDemo_exec")
}